package online.flowerinsnow.minecraft.bukkit.manhunt.runnable;

import org.bukkit.scheduler.BukkitRunnable;
import online.flowerinsnow.minecraft.bukkit.manhunt.Manhunt;
import online.flowerinsnow.minecraft.bukkit.manhunt.manager.ICompassManager;

public class CompassRunnable extends BukkitRunnable {
    @Override
    public void run() {
        ICompassManager compassManager = Manhunt.getCompassManager();
        compassManager.refresh();
        compassManager.update();
    }
    public void start() {
        runTaskTimer(Manhunt.getInstance(), 0L, 20L);
    }
}
